import {request} from '@/utils/request.js'

export function getXcxOpenid(data) {
	return request({
		url: '/xcx/login/getXcxOpenid',
		method: 'POST',
		data: data
	})
}
export function homepage(data) {
	return request({
		url: '/xcx/homepage/data',
		method: 'POST',
		data: data
	})
}
export function getCity(data) {
	return request({
		url: '/xcx/homepage/get/city',
		method: 'POST',
		data: data
	})
}
export function getMemberInfoByOpenId(data) {
	return request({
		url: '/xcx/member/getMemberInfoByOpenId',
		method: 'GET',
		data: data
	})
}
export function sendCode(data) {
	return request({
		url: '/xcx/msg/sendCode',
		method: 'GET',
		data: data
	})
}
export function loginCode(data) {
	return request({
		url: '/xcx/login/code',
		method: 'POST',
		data: data
	})
}
export function getProductInfo(data) {
	return request({
		url: '/xcx/product/getOneProductInfo',
		method: 'POST',
		data: data
	})
}
export function carInfoSave(data) {
	return request({
		url: '/xcx/car/info/save',
		method: 'POST',
		data: data
	})
}
export function carLicenceOcr(data) {
	return request({
		url: '/xcx/car/licence/ocr',
		method: 'POST',
		data: data
	})
}
export function carInfoList(data) {
	return request({
		url: '/xcx/car/info/list',
		method: 'POST',
		data: data
	})
}
export function carQueryBrand(data) {
	return request({
		url: '/xcx/car/query/brand',
		method: 'GET',
		data: data
	})
}
export function carQuerySeries(data) {
	return request({
		url: '/xcx/car/query/series',
		method: 'GET',
		data: data
	})
}
export function carInfoModel(data) {
	return request({
		url: '/xcx/car/query/model',
		method: 'GET',
		data: data
	})
}
export function loginAuth(data) {
	return request({
		url: '/xcx/login/auth',
		method: 'POST',
		data: data
	})
}
export function orderPreAnnual(data) {
	return request({
		url: '/xcx/order/pre/annual',
		method: 'POST',
		data: data
	})
}
export function getMemberCoupon(data) {
	return request({
		url: '/xcx/member/getMemberCoupon',
		method: 'POST',
		data: data
	})
}
export function createOrder(data,token) {
	return request({
		url: '/xcx/order/createOrder',
		method: 'POST',
		data: data,
		token
	})
}
export function carShow(data) {
	return request({
		url: '/xcx/car/show',
		method: 'POST',
		data: data
	})
}
export function getProductView(data) {
	return request({
		url: '/xcx/product/getProductView',
		method: 'GET',
		data: data
	})
}
export function storeInfo(data) {
	return request({
		url: '/xcx/store/get/info',
		method: 'POST',
		data: data
	})
}
export function evaluate(data) {
	return request({
		url: '/xcx/store/one/evaluate',
		method: 'GET',
		data: data
	})
}
export function evaluateAll(data) {
	return request({
		url: '/xcx/store/all/evaluate',
		method: 'POST',
		data: data
	})
}
export function getChildProduct(data) {
	return request({
		url: '/xcx/product/getChildProduct',
		method: 'GET',
		data: data
	})
}
export function storeGetList(data) {
	return request({
		url: '/xcx/store/get/list',
		method: 'POST',
		data: data
	})
}
export function orderPreMaintain(data) {
	return request({
		url: '/xcx/order/pre/maintain',
		method: 'POST',
		data: data
	})
}
export function getSecondProduct(data) {
	return request({
		url: '/xcx/product/getSecondProduct',
		method: 'GET',
		data: data
	})
}
export function orderPreDriver(data) {
	return request({
		url: '/xcx/order/pre/driver',
		method: 'POST',
		data: data
	})
}
export function getManyProductInfo(data) {
	return request({
		url: '/xcx/product/getManyProductInfo',
		method: 'POST',
		data: data
	})
}
export function productShowInfo(data) {
	return request({
		url: '/xcx/product/show/info',
		method: 'POST',
		data: data
	})
}
export function memberSave(data) {
	return request({
		url: '/xcx/member/save',
		method: 'POST',
		data: data
	})
}
export function orderPreService(data) {
	return request({
		url: '/xcx/order/pre/service',
		method: 'POST',
		data: data
	})
}
export function washStoreList(data) {
	return request({
		url: '/xcx/store/wash/storeList',
		method: 'POST',
		data: data
	})
}
export function orderPreClean(data) {
	return request({
		url: '/xcx/order/pre/clean',
		method: 'POST',
		data: data
	})
}
export function storeCity(data) {
	return request({
		url: '/xcx/store/all/city',
		method: 'GET',
		data: data
	})
}
export function orderPageList(data) {
	return request({
		url: '/xcx/order/pageList',
		method: 'POST',
		data: data
	})
}
export function loginExit(data) {
	return request({
		url: '/xcx/login/exit',
		method: 'POST',
		data: data
	})
}
export function getSignupWeixin(data) {
	return request({
		url: '/xcx/pay/getSignupWeixin',
		method: 'POST',
		data: data
	})
}
export function suitInfo(data) {
  return request({
    url: '/xcx/suit/info',
    method: 'POST',
	data:data
  })
} 
export function evidenceInfo(data) {
  return request({
    url: '/xcx/evidence/info',
    method: 'POST',
	data:data
  })
} 
export function verification(data) {
  return request({
    url: '/xcx/business/verification',
    method: 'POST',
	data:data
  })
} 
export function orderDriver(data) {
  return request({
    url: '/xcx/order/driver/list',
    method: 'POST',
	data:data
  })
} 
export function evaluateSave(data) {
  return request({
    url: '/xcx/evaluate/save',
    method: 'POST',
	data:data
  })
} 
export function evaluateStatistic(data) {
  return request({
    url: '/xcx/evidence/statistic',
    method: 'GET',
	data:data
  })
} 
export function preSuit(data) {
  return request({
    url: '/xcx/order/pre/suit',
    method: 'POST',
	data:data
  })
} 
export function orderShow(data) {
  return request({
    url: '/xcx/order/show',
    method: 'POST',
	data:data
  })
} 

export function couponList(data) {
  return request({
    url: '/xcx/order/get/couponList',
    method: 'POST',
	data:data
  })
} 
export function suitPageList(data) {
  return request({
    url: '/xcx/order/suit/pageList',
    method: 'POST',
	data:data
  })
} 

export function getMiniQr(data) {
  return request({
    url: '/xcx/login/getMiniQr',
    method: 'POST',
	data:data
  })
} 
export function shareInfo(data) {
  return request({
    url: '/xcx/member/share/Info',
    method: 'POST',
	data:data
  })
} 
export function withdraw(data) {
  return request({
    url: '/xcx/pay/withdraw',
    method: 'POST',
	data:data
  })
} 
export function orderRefund(data) {
  return request({
    url: '/xcx/order/refund',
    method: 'POST',
	data:data
  })
} 
